home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateSelectionDialog.z / XmCreateSelectionDialog
Encoding:
Text File  |  2003-11-18  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_S_e_l_e_c_t_i_o_n_D_i_a_l_o_g - The    SelectionBox SelectionDialog
  10.       convenience creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/SelectioB.h>
  14.  
  15.       Widget XmCreateSelectionDialog (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,,    aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_S_e_l_e_c_t_i_o_n_D_i_a_l_o_g is a convenience creation function
  23.       that creates a DialogShell and an unmanaged SelectionBox
  24.       child    of the DialogShell.  A SelectionDialog offers the user
  25.       a choice from    a list of alternatives and gets    a selection.
  26.       It includes the following:
  27.  
  28.       +o    A scrolling list    of alternatives
  29.  
  30.       +o    An editable text    field for the selected alternative
  31.  
  32.       +o    Labels for the text field
  33.  
  34.       +o    Four buttons
  35.  
  36.       The default button labels are    _O_K, _C_a_n_c_e_l, _A_p_p_l_y, and _H_e_l_p.
  37.       One additional _W_o_r_k_A_r_e_a child    may be added to    the
  38.       SelectionBox after creation.
  39.  
  40.       _X_m_C_r_e_a_t_e_S_e_l_e_c_t_i_o_n_D_i_a_l_o_g forces the value of the SelectionBox
  41.       resource _X_m_N_d_i_a_l_o_g_T_y_p_e to _X_m_D_I_A_L_O_G__S_E_L_E_C_T_I_O_N.
  42.  
  43.       Use _X_t_M_a_n_a_g_e_C_h_i_l_d to pop up the SelectionDialog (passing the
  44.       SelectionBox as the widget parameter); use _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d
  45.       to pop it down.
  46.  
  47.       ppppaaaarrrreeeennnntttt
  48.            Specifies the parent widget ID
  49.  
  50.       nnnnaaaammmmeeee Specifies the name of the created widget
  51.  
  52.       aaaarrrrgggglllliiiisssstttt
  53.            Specifies the argument list
  54.  
  55.       aaaarrrrggggccccoooouuuunnnntttt
  56.            Specifies the number of attribute/value pairs in    the
  57.            argument    list (aaaarrrrgggglllliiiisssstttt)
  58.  
  59.       For a    complete definition of SelectionBox and    its associated
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       resources, see _X_m_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  75.  
  76.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  77.       Returns the SelectionBox widget ID.
  78.  
  79.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  80.       _X_m_S_e_l_e_c_t_i_o_n_B_o_x(_3_X).
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.